package com.templeix.timeaxis.controller;

import java.util.List;
import com.templeix.jfinal.base.BaseController;
import com.templeix.timeaxis.model.TADynasty;

public class IndexController extends BaseController {
	public void index() {
		
		List<TADynasty> dynastyList = TADynasty.dao.find(" select * from t_ta_dynasty ");
		setAttr("list", dynastyList);
		
		render("index.html");
	}
}
